<%@taglib uri="/struts-tags" prefix="s"  %>

<div class="post" >
<h2 class="title"> Edit Profile</h2>
	<div class="entry">
		<br/>
		<s:form name="/user" action="save" method="post" validate="true">
			<s:hidden id="id" name="user.id"/>
			<s:textfield required="true" id="firstName" label="First Name" name="user.firstName"/>
			<s:textfield required="true" id="lastName" label="Last Name" name="user.lastName"/>
			<s:textfield required="true" id="homePhone" label="Home Phone" name="user.homePhone"/>
			<s:textfield required="true" id="workPhone" label="Work Phone" name="user.workPhone"/>
			<s:textfield required="true" id="cellPhone" label="Cell Phone" name="user.cellPhone"/>
			<s:textfield required="true" id="email" label="Email" name="user.email"/>
			<s:file label="Picture" id="picture" name="user.picture" />
			<s:select required="true" id="role" label="Role" list="#{'ADMIN':'Administrator','PLAYER':'Player','OPERATOR':'Operator'}" name="user.role"/>
			<s:password required="true" id="password"  label="Password" name="user.password"/>
			<s:submit value="Save"/>
		</s:form>
	</div>
</div>